package com.whj.entity;

import lombok.Data;

import java.util.Date;

public class Message {
    private Integer id;
    private String messageText;
    private Date messageTime;
    private Integer ptuserId;
    private Integer zjuserId;
    private String ptuserName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMessageText() {
        return messageText;
    }

    public void setMessageText(String messageText) {
        this.messageText = messageText;
    }

    public Date getMessageTime() {
        return messageTime;
    }

    public void setMessageTime(Date messageTime) {
        this.messageTime = messageTime;
    }

    public Integer getPtuserId() {
        return ptuserId;
    }

    public void setPtuserId(Integer ptuserId) {
        this.ptuserId = ptuserId;
    }

    public Integer getZjuserId() {
        return zjuserId;
    }

    public void setZjuserId(Integer zjuserId) {
        this.zjuserId = zjuserId;
    }

    public String getPtuserName() {
        return ptuserName;
    }

    public void setPtuserName(String ptuserName) {
        this.ptuserName = ptuserName;
    }

    @Override
    public String toString() {
        return "Message{" +
                "id=" + id +
                ", messageText='" + messageText + '\'' +
                ", messageTime='" + messageTime + '\'' +
                ", ptuserId=" + ptuserId +
                ", zjuserId=" + zjuserId +
                ", ptuserName='" + ptuserName + '\'' +
                '}';
    }
}
